package cn.home.sysmanagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

/**
 * 文章类型对象 home_articletype
 * 
 * @author homedoctor
 * @date 2025-04-09
 */
public class HomeArticletype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章类型id */
    private Long id;

    /** 文章类型 */
    @Excel(name = "文章类型")
    private String type;

    /** 扩展1 */
    private String exp1;

    /** 扩展2 */
    private String exp2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setExp1(String exp1) 
    {
        this.exp1 = exp1;
    }

    public String getExp1() 
    {
        return exp1;
    }

    public void setExp2(String exp2) 
    {
        this.exp2 = exp2;
    }

    public String getExp2() 
    {
        return exp2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("exp1", getExp1())
            .append("exp2", getExp2())
            .toString();
    }
}
